SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 39778: Job status is incorrectly displayed as an error when jobs that are submitted to a SAS grid through SAS® Management Console create warnings

DetailsAboutRate It

When warnings occur for jobs that are submitted to a SAS grid in SAS Management Console, the job status might be displayed as an error instead of a warning. By default, SAS Management Console provides an alert for jobs that encounter warnings. However, the job status should be displayed as a warning.

To correct this problem so that the job status is appropriately displayed as a warning, do the following.

For a Windows Grid Environment

Open the sasgrid.cmd file that is located in the \Lev1\SASxxx\GridServer directory and add the following to the end of the file:

if %SASRC%==1 goto makenormalexit 
exit /b %SASRC% 
:makenormalexit 
exit /b 0

For a UNIX Grid Environment

Open the sasgrid file located in the /Lev1/SASxxx/GridServer directory and add the following at the end of the file:

# Add this code to capture exit=1 (SAS warning) and make it exit=0
eval 
$cmd
rc=$?
if [ $rc -eq 1 ]; then
  exit 0
else
  exit $rc
fi


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Grid ManagerMicrosoft® Windows® for 64-Bit Itanium-based Systems9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft® Windows® for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional9.219.39.2 TS2M09.3 TS1M0
Windows Vista9.219.39.2 TS2M09.3 TS1M0
Windows Vista for x649.219.39.2 TS2M09.3 TS1M0
64-bit Enabled AIX9.219.39.2 TS2M09.3 TS1M0
64-bit Enabled HP-UX9.219.39.2 TS2M09.3 TS1M0
64-bit Enabled Solaris9.219.39.2 TS2M09.3 TS1M0
HP-UX IPF9.219.39.2 TS2M09.3 TS1M0
Linux9.219.39.2 TS2M09.3 TS1M0
Linux for x649.219.39.2 TS2M09.3 TS1M0
Solaris for x649.219.39.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.